WKO\Controllers\Gateways\Gateway B

Total Complexity 92
Dependencies 7
Dependents 2
Total lines 779
Lines of code 468
Logical lines of code 221
Comment lines 159
Methods 31
Properties 2

Methods 31

Method Rating Maintainability Complexity Lines of code
get_address()
A
49 9 30
get_phones()
A
50 9 29
process_payment()
A
44 7 47
get_order_status()
S
53 7 27
get_order_items()
S
46 5 36
capture_order()
S
49 5 33
gateway_discount()
S
54 5 20
get_person()
S
53 4 25
validate_address_fields()
S
61 4 12
get_transaction_data()
S
48 2 35
handle_failed_status()
S
59 3 15
get_discounts()
S
61 3 12
finishSuccessOrder()
S
56 2 19
get_payer_data()
S
56 2 17
get_customer_ip()
S
67 3 9
get_post_vars()
S
69 3 6
get_server_vars()
S
69 3 6
get_store_data()
S
62 2 12
build_request_body()
S
55 1 20
get_customer()
S
57 1 17
save_post_meta()
S
70 2 6
order_failed()
S
65 1 11
get_custom_gateway_fields()
S
100 1 0
show_thankyou_page()
S
100 1 0
get_payment_method()
S
100 1 0
__construct()
S
75 1 4
abort_payment_process()
S
79 1 3
get_webhook_url()
S
70 1 6
number_format()
S
78 1 3
get_shipping_data()
S
66 1 8
get_metas()
S
100 1 0